namespace ClassLibrary1
{
    using System;
    using System.Collections.Generic;
    using System.ComponentModel.DataAnnotations;
    using System.ComponentModel.DataAnnotations.Schema;
    using System.Data.Entity.Spatial;

    [Table("rms.order")]
    public partial class order
    {
        public int id { get; set; }

        [StringLength(50)]
        public string ordersn { get; set; }

        public int? shopuserid { get; set; }

        public int? orderstatus { get; set; }

        [StringLength(50)]
        public string consignee { get; set; }

        [StringLength(50)]
        public string province { get; set; }

        [StringLength(50)]
        public string city { get; set; }

        [StringLength(50)]
        public string district { get; set; }

        [StringLength(255)]
        public string address { get; set; }

        [StringLength(20)]
        public string mobile { get; set; }

        [StringLength(50)]
        public string expresssn { get; set; }

        [StringLength(20)]
        public string expressname { get; set; }

        public decimal? expressprice { get; set; }

        public decimal? orderprice { get; set; }

        public DateTime? addtime { get; set; }

        public DateTime? paytime { get; set; }
    }
}
